.class Lcom/nemustech/regina/ReginaLauncherSettings$14;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaLauncherSettings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncherSettings;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings;)V
    .locals 0
    .parameter

    .prologue
    .line 435
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 5
    .parameter "preference"

    .prologue
    const v4, 0x7f0700a0

    const/4 v3, 0x1

    .line 438
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$1600(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/preference/CheckBoxPreference;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$500(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-virtual {v2, v4}, Lcom/nemustech/regina/ReginaLauncherSettings;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/preference/CheckBoxPreference;->setChecked(Z)V

    .line 439
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ReginaLauncherSettings;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v2}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$1600(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/preference/CheckBoxPreference;

    move-result-object v2

    invoke-virtual {v2}, Landroid/preference/CheckBoxPreference;->isChecked()Z

    move-result v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 440
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncherSettings$14;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$800(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 441
    return v3
.end method
